package com.yserp.project.erp.bill.receivemoney.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yserp.project.erp.bill.receivemoney.domain.ReceiveMoneyItem;

import java.util.List;

/**
 * 收款单Service接口
 *
 * @author yserp
 * @date 2022-08-11
 */
public interface IReceiveMoneyItemService extends IService<ReceiveMoneyItem> {

    /**
     * 查询收款单列表
     *
     * @param receiveMoneyItem 收款单
     * @return 收款单集合
     */
    public List<ReceiveMoneyItem> selectReceiveMoneyItemList(ReceiveMoneyItem receiveMoneyItem);

    /**
     * 通过主表Id获取子表列表数据
     *
     * @param mainId 主表ID
     * @return
     */
    public List<ReceiveMoneyItem> selectReceiveMoneyItemListByMainId(Long mainId);


}
